<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
 <%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ page session="false" %>
<c:set var="context" value="${pageContext.request.contextPath}" />
<html>
<head>
	<title>Mom Project</title>
	<link rel="stylesheet" type="text/css" href="${context}/resources/css/css.css">
	<script type="text/javascript" src="${context}/resources/js/jquery-1.3.2.min.js"></script>
</head>
<body>
	<div id="container">
	
	<div id="header">
		<h1>
			MOM project
		</h1>
	</div>
	<div id="navWrap">
		<div id="navl">
			
		</div>
		<div id="navr">
				  <a href="${context}/login">เข้าใช้งานระบบ</a> 
		</div>
	</div>

	<div id="section">
	<div id ="mainContent">
			
					<c:if test="${not empty customGenericException.errCode}">
							<h1>${customGenericException.errCode} : System Errors</h1>
						</c:if>
						
						<c:if test="${empty customGenericException.errCode}">
							<h1>System Errors</h1>
						</c:if>
					
						<c:if test="${not empty customGenericException.errMsg}">
							<h4>${customGenericException.errMsg}</h4>
						</c:if>
		</div>	
	</div>
	
	<div id="footer">FOOTER</div>
	
	</div>
</body>
</html>

	

